Skip to main content

Defined in: src/constructs/waf-ip-allow-list/waf-ip-allow-list.ts:15

WAFv2 Web ACL that blocks all traffic by default and allows only requests originating from a single IPv4 CIDR range.

Extends​

  • Construct

Constructors​

Constructor​

new WafIpAllowList(scope, id, props): WafIpAllowList

Defined in: src/constructs/waf-ip-allow-list/waf-ip-allow-list.ts:18

Parameters​

scope​

Construct

id​

string

props​

WafIpAllowListProps

Returns​

WafIpAllowList

Overrides​

Construct.constructor

Properties​

node​

readonly node: Node

Defined in: node_modules/.pnpm/constructs@10.0.5/node_modules/constructs/lib/construct.d.ts:305

The tree node.

Stability​

stable

Inherited from​

Construct.node


webAclArn​

readonly webAclArn: string

Defined in: src/constructs/waf-ip-allow-list/waf-ip-allow-list.ts:16

Methods​

toString()​

toString(): string

Defined in: node_modules/.pnpm/constructs@10.0.5/node_modules/constructs/lib/construct.d.ts:319

Returns a string representation of this construct.

Returns​

string

Stability​

stable

Inherited from​

Construct.toString


isConstruct()​

static isConstruct(x): x is Construct

Defined in: node_modules/.pnpm/constructs@10.0.5/node_modules/constructs/lib/construct.d.ts:299

(deprecated) Checks if x is a construct.

Parameters​

x​

any

Any object.

Returns​

x is Construct

true if x is an object created from a class which extends Construct.

Deprecated​

use x instanceof Construct instead

Inherited from​

Construct.isConstruct